package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药物管理对象 sys_app_medicine
 * 
 * @author ruoyi
 * @date 2020-08-31
 */
public class SysAppMedicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 药物排序分类 */
    @Excel(name = "药物排序分类")
    private String medicineClass;
    
    @Excel(name = "药物名称")
    private String medicineName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer ord;

    /** 启用状态(0、不启用；1、启用） */
    @Excel(name = "启用状态(0、不启用；1、启用）")
    private Integer state;

    /** 药物描述 */
    @Excel(name = "药物描述")
    private String medicineDescribe;
    
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMedicineClass(String medicineClass) 
    {
        this.medicineClass = medicineClass;
    }

    public String getMedicineClass() 
    {
        return medicineClass;
    }
    public void setOrd(Integer ord) 
    {
        this.ord = ord;
    }

    public Integer getOrd() 
    {
        return ord;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setMedicineDescribe(String medicineDescribe) 
    {
        this.medicineDescribe = medicineDescribe;
    }

    public String getMedicineDescribe() 
    {
        return medicineDescribe;
    }

    public String getMedicineName() {
		return medicineName;
	}

	public void setMedicineName(String medicineName) {
		this.medicineName = medicineName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("medicineClass", getMedicineClass())
            .append("medicineName", getMedicineName())
            .append("ord", getOrd())
            .append("state", getState())
            .append("medicineDescribe", getMedicineDescribe())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
